import request from '../utils/request';
//系统管理业务接口文档
const api = {
  //获取基础数据分类
  GetBaseDictionaryDataList(data?: any) {
    return request({
      url: '/api/System/GetBaseDictionaryDataList',
      method: 'post',
      data,
    });
  },
  //获取基础数据分类
  QueryPageDictionaryValueDataList(data?: any) {
    return request({
      url: '/api/System/QueryPageDictionaryValueDataList',
      method: 'post',
      data,
    });
  },
  //获取基础数据-启用/禁用
  DisabledOrEnableDictionaryValue(data?: any) {
    return request({
      url: '/api/System/DisabledOrEnableDictionaryValue',
      method: 'post',
      data,
    });
  },
  //获取基础数据-删除
  DeleteDictionaryValue(data?: any) {
    return request({
      url: '/api/System/DeleteDictionaryValue',
      method: 'post',
      data,
    });
  },
  //获取基础数据-编辑
  UpdateDictionaryValue(data?: any) {
    return request({
      url: '/api/System/UpdateDictionaryValue',
      method: 'post',
      data,
    });
  },
  //获取基础数据-新建
  AddDictionaryValue(data?: any) {
    return request({
      url: '/api/System/AddDictionaryValue',
      method: 'post',
      data,
    });
  },
  //获取系统字典明细项详情
  QueryDictionaryValueDetail(data?: any) {
    return request({
      url: '/api/System/QueryDictionaryValueDetail',
      method: 'post',
      data,
    });
  },
  //获得生产机台类型列表数据
  GetMachineTypeDataList(data?: any) {
    return request({
      url: '/api/System/GetMachineTypeDataList',
      method: 'post',
      data,
    });
  },
  //分页获取印刷颜色数据列表
  QueryPagePrintingColorDataList(data?: any) {
    return request({
      url: '/api/System/QueryPagePrintingColorDataList',
      method: 'post',
      data,
    });
  },
  //获取印刷颜色详情数据
  QueryPrintingColorDetail(data?: any) {
    return request({
      url: '/api/System/QueryPrintingColorDetail',
      method: 'post',
      data,
    });
  },
  //新增印刷颜色
  AddPrintingColor(data?: any) {
    return request({
      url: '/api/System/AddPrintingColor',
      method: 'post',
      data,
    });
  },
  //修改印刷颜色
  UpdatePrintingColor(data?: any) {
    return request({
      url: '/api/System/UpdatePrintingColor',
      method: 'post',
      data,
    });
  },
  //删除印刷颜色
  DeletePrintingColor(data?: any) {
    return request({
      url: '/api/System/DeletePrintingColor',
      method: 'post',
      data,
    });
  },
  //禁用/启用印刷颜色
  DisabledOrEnablePrintingColor(data?: any) {
    return request({
      url: '/api/System/DisabledOrEnablePrintingColor',
      method: 'post',
      data,
    });
  },
  //获得印刷颜色数据列表（底膜颜色、刮开涂层颜色、刮开文字颜色等）
  QueryPrintingColorDataList(data?: any) {
    return request({
      url: '/api/System/QueryPrintingColorDataList',
      method: 'post',
      data,
    });
  },
  //分页获取纸箱配置数据列表
  GetPageCartonConfigurationList(data?: any) {
    return request({
      url: '/api/System/GetPageCartonConfigurationList',
      method: 'post',
      data,
    });
  },
  //获取单个纸箱配置对象数据
  GetSingleCartonConfiguration(data?: any) {
    return request({
      url: '/api/System/GetSingleCartonConfiguration',
      method: 'post',
      data,
    });
  },
  //新增纸箱配置数据
  AddCartonConfiguration(data?: any) {
    return request({
      url: '/api/System/AddCartonConfiguration',
      method: 'post',
      data,
    });
  },
  //修改纸箱配置数据
  UpdateCartonConfiguration(data?: any) {
    return request({
      url: '/api/System/UpdateCartonConfiguration',
      method: 'post',
      data,
    });
  },
  //删除纸箱配置数据
  DeleteCartonConfiguration(data?: any) {
    return request({
      url: '/api/System/DeleteCartonConfiguration',
      method: 'post',
      data,
    });
  },
  //分页获取打印模板数据
  GetPagePrintTemplateList(data?: any) {
    return request({
      url: '/api/System/GetPagePrintTemplateList',
      method: 'post',
      data,
    });
  },
  //获取单个打印模板数据
  GetSinglePrintTemplate(data?: any) {
    return request({
      url: '/api/System/GetSinglePrintTemplate',
      method: 'post',
      data,
    });
  },
  //新增打印模板数据
  AddPrintTemplate(data?: any) {
    return request({
      url: '/api/System/AddPrintTemplate',
      method: 'post',
      data,
    });
  },
  //修改打印模板数据
  UpdatePrintTemplate(data?: any) {
    return request({
      url: '/api/System/UpdatePrintTemplate',
      method: 'post',
      data,
    });
  },
  //删除打印模板数据
  DeletePrintTemplate(data?: any) {
    return request({
      url: '/api/System/DeletePrintTemplate',
      method: 'post',
      data,
    });
  },
  //获取打印模板类型数据
  GetTemplateTypeList(data?: any) {
    return request({
      url: '/api/System/GetTemplateTypeList',
      method: 'post',
      data,
    });
  },
  //获得物料入库类型数据列表
  GetGoodsInStockTypeDataList(data?: any) {
    return request({
      url: '/api/System/GetGoodsInStockTypeDataList',
      method: 'post',
      data,
    });
  },
  //获得物料出库类型数据列表
  GetGoodsOutStockTypeDataList(data?: any) {
    return request({
      url: '/api/System/GetGoodsOutStockTypeDataList',
      method: 'post',
      data,
    });
  },
};
export default api;
